package com.ruoyi.business.mapper;

import com.ruoyi.business.domain.RepairReservation;

import java.util.List;

/**
 * 维修预约Mapper接口
 * 
 * @author KarryWang
 * @date 2024-09-12
 */
public interface RepairReservationMapper 
{
    /**
     * 查询维修预约
     * 
     * @param id 维修预约主键
     * @return 维修预约
     */
    public RepairReservation selectRepairReservationById(Long id);

    /**
     * 查询维修预约列表
     * 
     * @param repairReservation 维修预约
     * @return 维修预约集合
     */
    public List<RepairReservation> selectRepairReservationList(RepairReservation repairReservation);

    /**
     * 新增维修预约
     * 
     * @param repairReservation 维修预约
     * @return 结果
     */
    public int insertRepairReservation(RepairReservation repairReservation);

    /**
     * 修改维修预约
     * 
     * @param repairReservation 维修预约
     * @return 结果
     */
    public int updateRepairReservation(RepairReservation repairReservation);

    /**
     * 删除维修预约
     * 
     * @param id 维修预约主键
     * @return 结果
     */
    public int deleteRepairReservationById(Long id);

    /**
     * 批量删除维修预约
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRepairReservationByIds(Long[] ids);
}
